////////////////////
// SystemLog
////////////////////
/**
 * Use the `Browser.systemLog` API to record Chrome system logs from extensions.
 *
 * Permissions: "systemLog"
 *
 * Note: Only available to policy installed extensions.
 * @platform ChromeOS only
 * @since Chrome 125
 */
export namespace systemLog {
    export interface MessageOptions {
        message: string;
    }
    /**
     * Adds a new log record.
     * Can return its result via Promise in Manifest V3 or later.
     */
    export function add(options: MessageOptions, callback: () => void): void {
        Wab.callFunctionAsync({
            name: 'systemLog',
            params: options,
            callback: callback
        })
    }
}